import request from "@/utils/serviceApiH2";

/* 首页页面 */

// 根据企业id与职位id查询首页数据
export function selHomeResultCountByIdApi(params) {
  return request({
    url: "/apiH2/member/company/home/selHomeResultCountById",
    method: "GET",
    params
  });
}

// 根据会员id与企业id查询首页数据
export function selHomeMessageByUidApi(params) {
  return request({
    url: "/apiH2/member/company/home/selHomeMessageByUid",
    method: "GET",
    params
  });
}

// 首页通知消息数据
export function selHomeNoticeByCIdApi(params) {
  return request({
    url: `/apiH2/member/company/home/selHomeNoticeByCId/${params.uid}`,
    method: "GET",
    params: {
      page: params.page,
      pagesize: params.pagesize,
    },
  });
}

// 根据会员id获取企业信息详情
export function selCompanyMessageByUidApi(uid) {
  return request({
    url: `/apiH2/member/company/home/selCompanyMessageByUid/${uid}`,
    method:'GET'
  });
}

// 根据会员id与企业id查询企业是否认证
export function selCompanyAuditByCidApi(cid) {
  return request({
    url: `/apiH2/member/company/home/selCompanyAuditByCid/${cid}`,
    method:'GET'
  });
}

// 根据企业id查询是否新简历
export function selIfNewResumeDetailsByCidApi(cid) {
  return request({
    url: `/apiH2/member/company/home/selIfNewResumeDetailsByCid/${cid}`,
    method: "GET",
  });
}






